import {NgModule} from '@angular/core';
import {RouterModule, Routes} from '@angular/router';
import {MemberListComponent} from './member/member-list/member-list.component';
import {OrderDetailComponent} from './member/order-detail/order-detail.component';


const routes: Routes = [
  {path: '', redirectTo: 'memberList', pathMatch: 'full'},
  {path: 'memberList', component: MemberListComponent, data: {breadcrumb: '开通记录'}},
  {path: 'memberOrderDetail', component: OrderDetailComponent, data: {breadcrumb: '订单详情'}},
];

@NgModule({
  imports: [RouterModule.forChild(routes)],
  exports: [RouterModule]
})
export class MaintainBlueprintRoutingModule {
}
